@echo off
chcp 65001 > nul
echo 正在编译双色球彩票程序...
if not exist bin mkdir bin
javac -encoding UTF-8 -d bin src/com/lottery/*.java
if %errorlevel% equ 0 (
    echo 编译成功！
) else (
    echo 编译失败！
    pause
)